package com.gome.ocean.service.datax;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gome.ocean.dao.model.datasource.SQLUploadRecordBean;

/**
 * @author zhangguoqing 2016年11月1日 上午11:06:54
 * @since 5.0.0
 */
public interface ISQLUploadRecordService {

    public boolean insertBean(SQLUploadRecordBean bean);

    public boolean updateBean(SQLUploadRecordBean bean);

    public SQLUploadRecordBean getBeanById(@Param("id") Long id);

    public List<SQLUploadRecordBean> getBeanListBySqlId(@Param("sqlId") Long sqlId);

    public List<SQLUploadRecordBean> getBeanListByOaId(Long oaId);

    public SQLUploadRecordBean getDealSuccessBeanByMap(Long sqlId, String dealStatus);

}
